import request from '@/utils/request'
export default{
  //获取优质课程 20个 limit
  getyouzhicourses(){
    return request({
      url: '/bigdata/getyouzhic',
      method: 'get',
    })
  },
  // 根据课程类型获取排名的课程
  getcoursetop10bygenres(onesubject){
    return request({
      url: `/bigdata/getcousesbaserating/${onesubject}`,
      method: 'get',
    })
  },
  //获取优质课程菜单参数
  getgenresxx(){
    return request({
      url: `/bigdata/getgenres`,
      method: 'get',
    })
  },
  //获取离线推荐的课程 by uid
  getcfoffline(uid){
    return request({
     url: `/bigdata/getofflineCFdata/${uid}`,
     method: 'get',
    })
  }

}
